import request from '@/utils/request'

export function getInformation() {
    return request({
        url: '/user/name',
        headers: {
            isToken: true
        },
        method: 'get',
        timeout: 20000
    });
}

export function getUser() {
    return request({
        url: '/user',
        headers: {
            isToken: true
        },
        method: 'get',
        timeout: 20000
    });
}

export function getCatalogue() {
    return request({
        url: '/accounts/catalogue',
        headers: {
            isToken: true
        },
        method: 'get',
        timeout: 20000
    });
}
